home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-11 / colorset.zip / INKEY.H < prev   
Text File  |  1993-01-04  |  5KB  |  146 lines

  1. #define NULL                  0
  2.  
  3. #define UP                    5
  4. #define DOWN                 24
  5. #define DEL                   7
  6. #define INSERT               22
  7. #define LEFT                 19
  8. #define CTRL-LEFT            26
  9. #define RIGHT                 4
  10. #define CTRL-RIGHT            2
  11. #define PGUP                 18
  12. #define CTRL-PGUP            31
  13. #define PGDN                  3
  14. #define CTRL-PGDN            30
  15. #define HOME                  1
  16. #define CTRL-HOME            29
  17. #define END                   6
  18. #define CTRL-END             23
  19.  
  20. #define BACKSPACE             8
  21. #define CTRL-BACKSPACE      127
  22. #define ENTER                13
  23. #define CTRL-ENTER           10
  24. #define ESC                  27
  25. #define TAB                   9
  26. #define BACKTAB             271
  27. #define CTRL-PRTSC           16
  28.  
  29. #define CTRL-2              259
  30. #define CTRL-6               30
  31. #define CTRL-A                1
  32. #define CTRL-B                2
  33. #define CTRL-C                3
  34. #define CTRL-D                4
  35. #define CTRL-E                5
  36. #define CTRL-F                6
  37. #define CTRL-G                7
  38. #define CTRL-H                8
  39. #define CTRL-I                9
  40. #define CTRL-J               10
  41. #define CTRL-K               11
  42. #define CTRL-L               12
  43. #define CTRL-M               13
  44. #define CTRL-N               14
  45. #define CTRL-O               15
  46. #define CTRL-P               16
  47. #define CTRL-Q               17
  48. #define CTRL-R               18
  49. #define CTRL-S               19
  50. #define CTRL-T               20
  51. #define CTRL-U               21
  52. #define CTRL-V               22
  53. #define CTRL-W               23
  54. #define CTRL-X               24
  55. #define CTRL-Y               25
  56. #define CTRL-Z               26
  57. #define CTRL-[               27
  58. #define CTRL-\               28
  59. #define CTRL-]               29
  60. #define CTRL-^               30
  61. #define CTRL--               31
  62. #define CTRL-@              259
  63.  
  64. #define ALT--               386
  65. #define ALT-=               387
  66. #define ALT-0               385
  67. #define ALT-1               376
  68. #define ALT-2               377
  69. #define ALT-3               378
  70. #define ALT-4               379
  71. #define ALT-5               380
  72. #define ALT-6               381
  73. #define ALT-7               382
  74. #define ALT-8               383
  75. #define ALT-9               384
  76. #define ALT-A               286
  77. #define ALT-B               304
  78. #define ALT-C               302
  79. #define ALT-D               288
  80. #define ALT-E               274
  81. #define ALT-F               289
  82. #define ALT-G               290
  83. #define ALT-H               291
  84. #define ALT-I               279
  85. #define ALT-J               292
  86. #define ALT-K               293
  87. #define ALT-L               294
  88. #define ALT-M               306
  89. #define ALT-N               305
  90. #define ALT-O               280
  91. #define ALT-P               281
  92. #define ALT-Q               272
  93. #define ALT-R               275
  94. #define ALT-S               287
  95. #define ALT-T               276
  96. #define ALT-U               278
  97. #define ALT-V               303
  98. #define ALT-W               273
  99. #define ALT-X               301
  100. #define ALT-Y               277
  101. #define ALT-Z               300
  102.  
  103. #define F1                   28
  104. #define F2                   -1
  105. #define F3                   -2
  106. #define F4                   -3
  107. #define F5                   -4
  108. #define F6                   -5
  109. #define F7                   -6
  110. #define F8                   -7
  111. #define F9                   -8
  112. #define F10                  -9
  113.  
  114. #define SHIFT-F1             -10
  115. #define SHIFT-F2             -11
  116. #define SHIFT-F3             -12
  117. #define SHIFT-F4             -13
  118. #define SHIFT-F5             -14
  119. #define SHIFT-F6             -15
  120. #define SHIFT-F7             -16
  121. #define SHIFT-F8             -17
  122. #define SHIFT-F9             -18
  123. #define SHIFT-F10            -19
  124.  
  125. #define CTRL-F1              -20
  126. #define CTRL-F2              -21
  127. #define CTRL-F4              -22
  128. #define CTRL-F3              -23
  129. #define CTRL-F5              -24
  130. #define CTRL-F6              -25
  131. #define CTRL-F7              -26
  132. #define CTRL-F8              -27
  133. #define CTRL-F9              -28
  134. #define CTRL-F10             -29
  135.  
  136. #define ALT-F1               -30
  137. #define ALT-F2               -31
  138. #define ALT-F3               -32
  139. #define ALT-F4               -33
  140. #define ALT-F5               -34
  141. #define ALT-F6               -35
  142. #define ALT-F7               -36
  143. #define ALT-F8               -37
  144. #define ALT-F9               -38
  145. #define ALT-F10              -39
  146.